package com.yeebo.admin.dao;

import com.yeebo.model.admin.SysRoleResource;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface SysRoleResourceDao {

    int deleteSysRoleResourcesByRoleId(@Param("roleId") Long roleId);

    int batchSave(List<SysRoleResource> entityList);

}
